package org.qingke.mail.user.service;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * 用户服务提供者启动类
 * @author JAVA
 *
 */
@EnableDiscoveryClient// 添加@EnableDiscoveryClient注解来激活Eureka中的DiscoveryClient实现
@SpringBootApplication
@ComponentScan(basePackages={"org.qingke.mail"})
public class UserServiceApplication {
	
	public static void main(String[] args) {
        SpringApplication.run(UserServiceApplication.class, args);
    }

}
